<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window" component="$UI/system/components/justep/window/window" design="device:pc">  
  <div xmlns="http://www.w3.org/1999/xhtml" component="$UI/system/components/justep/model/model" xid="model" style="height:auto;top:353px;left:567px;"> 
    <div xid="demoData" className="main/shangpin1" component="$UI/system/components/justep/data/restData" url="/dbrest" auto="new" isMain="true" _created="true"> 
      <label>商品</label> 
    </div>  
    <div component="$UI/system/components/justep/dataOperation/dataOperation" xid="dataOperation1"></div> 
  </div>  
  <div xmlns="http://www.w3.org/1999/xhtml" component="$UI/system/components/justep/panel/panel" class="x-panel x-full" xid="panel1"> 
    <div class="x-panel-content" xid="content1"> 
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row1w_fid"> 
        <div class="x-col x-col-20" xid="col1w_fid"> 
          <label class="x-label" xid="label1w_fid">主键</label> 
        </div>  
        <div class="x-col" xid="col3r_fid"> 
          <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="input1_fid" bind-ref="$model.demoData.ref('fid')" /> 
        </div> 
      </div>   
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row1w_fmingcheng"> 
        <div class="x-col x-col-20" xid="col1w_fmingcheng"> 
          <label class="x-label" xid="label1w_fmingcheng">名称</label> 
        </div>  
        <div class="x-col" xid="col3r_fmingcheng"> 
          <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="input1_fmingcheng" bind-ref="$model.demoData.ref('fmingcheng')" /> 
        </div> 
      </div>   
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row1_ftupian"> 
        <div class="x-col x-col-20" xid="col1_ftupian"> 
          <div xid="div2_ftupian" style="margin-top:24px">图片</div> 
        </div>  
        <div class="x-col" xid="col3_ftupian"> 
          
          	<div component="$UI/system/components/justep/attachment/attachmentSimple" actionUrl="/storage" preSignMode="true" compress="false" xid="attachmentSimpleImages_ftupian" accept="image/gif,image/jpeg,image/jpg,image/png,image/svg" bind-ref="$model.demoData.ref('ftupian')">
				<div class="x-attachment" xid="div111_ftupian">
					<div class="x-attachment-content x-card-border" style="border: none;" xid="div112_ftupian">
						<div class="x-doc-process" xid="div113_ftupian">
							<div class="progress-bar x-doc-process-bar" role="progressbar" style="width:0%;" xid="progressBar_ftupian"></div>
						</div>
						<div data-bind="foreach:$attachmentItems" xid="div114_ftupian">
							<div class="x-attachment-cell" xid="div115_ftupian">
								<div class="x-attachment-item x-item-other" data-bind="click:$model.previewOrRemoveItem.bind($model),style:{backgroundImage:($model.previewPicture.bind($model,$object))()}" xid="div116_ftupian">
									<a class="x-remove-barget" data-bind="visible:$model.$state.get() == 'remove'" xid="a_ftupian"></a>
								</div>
							</div>
						</div>
						<div class="x-attachment-cell" data-bind="visible:$state.get() == 'upload'" xid="div117_ftupian">
							<div class="x-attachment-item x-item-upload" data-bind="visible:$state.get() == 'upload'" xid="div118_ftupian"></div>
						</div>
						<div class="x-attachment-cell" data-bind="visible:$state.get() == 'upload' &amp;&amp; $attachmentItems.get().length &gt; 0" xid="div119_ftupian">
							<div class="x-attachment-item x-item-remove" data-bind="click:changeState.bind($object,'remove')" xid="div120_ftupian"></div>
						</div>
						<div style="clear:both;" xid="div121_ftupian"></div>
					</div>
				</div>
			</div>
          
        </div> 
      </div>   
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row1w_fjianjie"> 
        <div class="x-col x-col-20" xid="col1w_fjianjie"> 
          <label class="x-label" xid="label1w_fjianjie">简介</label> 
        </div>  
        <div class="x-col" xid="col3r_fjianjie"> 
          <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="input1_fjianjie" bind-ref="$model.demoData.ref('fjianjie')" /> 
        </div> 
      </div>   
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row1w_fleibie"> 
        <div class="x-col x-col-20" xid="col1w_fleibie"> 
          <label class="x-label" xid="label1w_fleibie">类别id</label> 
        </div>  
        <div class="x-col" xid="col3r_fleibie"> 
          <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="input1_fleibie" bind-ref="$model.demoData.ref('fleibie')" /> 
        </div> 
      </div>   
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row1w_fyuanlianj"> 
        <div class="x-col x-col-20" xid="col1w_fyuanlianj"> 
          <label class="x-label" xid="label1w_fyuanlianj">原链接</label> 
        </div>  
        <div class="x-col" xid="col3r_fyuanlianj"> 
          <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="input1_fyuanlianj" bind-ref="$model.demoData.ref('fyuanlianj')" /> 
        </div> 
      </div>   
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row1w_fshangjiasj"> 
        <div class="x-col x-col-20" xid="col1w_fshangjiasj"> 
          <label class="x-label" xid="label1w_fshangjiasj">上架时间</label> 
        </div>  
        <div class="x-col" xid="col3r_fshangjiasj"> 
          <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="input1_fshangjiasj" bind-ref="$model.demoData.ref('fshangjiasj')" /> 
        </div> 
      </div>   
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row1w_fjiage"> 
        <div class="x-col x-col-20" xid="col1w_fjiage"> 
          <label class="x-label" xid="label1w_fjiage">价格</label> 
        </div>  
        <div class="x-col" xid="col3r_fjiage"> 
          <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="input1_fjiage" bind-ref="$model.demoData.ref('fjiage')" /> 
        </div> 
      </div>   
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row1w_fshichangj"> 
        <div class="x-col x-col-20" xid="col1w_fshichangj"> 
          <label class="x-label" xid="label1w_fshichangj">市场价</label> 
        </div>  
        <div class="x-col" xid="col3r_fshichangj"> 
          <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="input1_fshichangj" bind-ref="$model.demoData.ref('fshichangj')" /> 
        </div> 
      </div>   
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row1w_fkucun"> 
        <div class="x-col x-col-20" xid="col1w_fkucun"> 
          <label class="x-label" xid="label1w_fkucun">库存</label> 
        </div>  
        <div class="x-col" xid="col3r_fkucun"> 
          <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="input1_fkucun" bind-ref="$model.demoData.ref('fkucun')" /> 
        </div> 
      </div>   
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row1w_fmaijiaid"> 
        <div class="x-col x-col-20" xid="col1w_fmaijiaid"> 
          <label class="x-label" xid="label1w_fmaijiaid">卖家ID</label> 
        </div>  
        <div class="x-col" xid="col3r_fmaijiaid"> 
          <input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="input1_fmaijiaid" bind-ref="$model.demoData.ref('fmaijiaid')" /> 
        </div> 
      </div>  
    </div>  
    <div class="x-panel-bottom o-bottom-bar" xid="bottom1"> 
      <a component="$UI/system/components/justep/button/button" class="btn btn-default o-btnbox o-blueBtn" label="保存" xid="okBtn" onClick="{&quot;operation&quot;:&quot;dataOperation1.saveReturn&quot;,&quot;args&quot;:{&quot;data&quot;:&quot;demoData&quot;}}"> 
        <i xid="i4"></i>  
        <span xid="span5">保存</span> 
      </a><a component="$UI/system/components/justep/button/button" class="btn btn-default btn-only-label o-btnbox" label="取消" xid="cancelBtn" onClick="{&quot;operation&quot;:&quot;window.close&quot;}"> 
        <i xid="i5"></i>  
        <span xid="span4">取消</span> 
      </a>  
       
    </div> 
  </div> 
</div>